package ooday05;

public class EeumDemo {
    public  static void main(String[] args) {
        Season s=Season.WINTER;
        s.setSeasonName("冬天");
        System.out.println(s.getSeasonName());

        Season[] sea=Season.values();
        for (int i=0;i< sea.length;i++){
            System.out.println(sea[i]);
            System.out.println(sea[i].getSeasonName());
            System.out.println(sea[i].getSeasonDesc());

        }
        Season se=Season.valueOf("SPRING");
        System.out.println(se.getSeasonName());

    }
}
